package com.boot.invoker.sample;


import com.i360day.invoker.annotation.EnableAmqpDiscoveryClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;


@SpringBootApplication
@EnableAmqpDiscoveryClient(basePackages = "com.boot.invoker")
public class ServiceApplication {

	@Autowired
	private ApplicationContext applicationContext;

	public static void main(String[] args) {
		SpringApplication.run(ServiceApplication.class, args);
	}
}
